{% extends "base.html.twig" %}


{% block loginform %}
{% if app.user %}
  <form class="navbar-form navbar-right" action="{{ path('_secure_logout') }}">
    <button type="submit" class="btn btn-success">Log out</button>
  </form>
{% else %}
  <form class="navbar-form navbar-right" action="{{ path('_secure_check') }}">
    <div class="form-group">
      <input type="text" placeholder="Email" name="_username" class="form-control">
    </div>
    <div class="form-group">
      <input type="password"  name="_password"	 placeholder="Password" class="form-control">
    </div>
    <button type="submit" class="btn btn-success">Log in</button>
  </form>
{% endif %}
{% endblock %}

{% block jumbotron %} {% endblock %}

{% block content %} {% endblock %}